QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    lua54/src/lapi.c \
    lua54/src/lauxlib.c \
    lua54/src/lbaselib.c \
    lua54/src/lcode.c \
    lua54/src/lcorolib.c \
    lua54/src/lctype.c \
    lua54/src/ldblib.c \
    lua54/src/ldebug.c \
    lua54/src/ldo.c \
    lua54/src/ldump.c \
    lua54/src/lfunc.c \
    lua54/src/lgc.c \
    lua54/src/linit.c \
    lua54/src/liolib.c \
    lua54/src/llex.c \
    lua54/src/lmathlib.c \
    lua54/src/lmem.c \
    lua54/src/loadlib.c \
    lua54/src/lobject.c \
    lua54/src/lopcodes.c \
    lua54/src/loslib.c \
    lua54/src/lparser.c \
    lua54/src/lstate.c \
    lua54/src/lstring.c \
    lua54/src/lstrlib.c \
    lua54/src/ltable.c \
    lua54/src/ltablib.c \
    lua54/src/ltm.c \
    lua54/src/lundump.c \
    lua54/src/lutf8lib.c \
    lua54/src/lvm.c \
    lua54/src/lzio.c \
    main.cpp \
    widget.cpp
INCLUDEPATH += $$PWD/./lua54/src
HEADERS += \
    lua54/src/lua.hpp \
    widget.h

FORMS += \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
